package com.chixing.day05.b;

import com.chixing.day05.a.Father;

public class Test {
    public static void main(String[] args) {
        Father father = new Father();
        father.y = 20;

        Son so = new Son();
        so.y = 20;
        // so.m = 10; //protected z不能访问,因为当前对象Test 与 Father 无任何关系
    }
}
